package com.atguigu.eduorder.client;

import com.atguigu.commonutils.ordervo.CourseWebOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhaolie
 * @Date 2020/12/30 1:00 下午
 * @Version 1.0
 * @Description
 */

@Component
@FeignClient("service-edu")
public interface EduClient {
    @GetMapping("/eduservice/coursefront/getCourseInfoOrder/{id}")
    public CourseWebOrder getCourseInfoOrder(@PathVariable("id") String id);
}
